
@import './color.scss';
@import './mixin.scss';

  /*屏幕大于750处理 BEGIN*/
@media screen and (min-width: 46.875rem /* 750/16 */) {
.header_nav_bar{
  li{
    &:hover{
      .nav_ul{
        @include flex;
        @include flex-x-center;
        @include flex-y-center;
        @include flex-direction;
      }
    }
  }
}
}
.header{
  position: sticky;
  left: 0;
  top: 0;
  width: 100%;
  height: 5.75rem /* 92/16 */;
  padding: 0 2.5rem /* 40/16 */;
  display:flex;
  align-items:center;/*垂直居中*/
  justify-content: space-between;
  box-sizing: border-box;
  transition: all 0.3s;
  z-index: 11;
  .header_nav_bar{
    display: flex;
    &>li{
      margin-left: 1.875rem /* 30/16 */;
      padding: 0 .3125rem /* 5/16 */;
      line-height: 2rem /* 32/16 */;
      position: relative;
      font-size: 1.125rem /* 18/16 */;
    }
    li{
      a{
        text-decoration: none;
        color: $nav;
      }
      &.active{
        &>a{
          color: $nav-active!important;
        }
      }
    }
    .nav_ul{
      font-size: 1rem /* 16/16 */;
      // @include none;
      width: 9rem /* 144/16 */;
      height: 128px;
      background: #ffffff;
      border-radius: 8px;
      box-shadow: 0px 4px 10px 0px rgba(25,30,64,0.1);
      overflow: hidden;
      position: absolute;
  left:50%;
  transform: translateX(-50%);
      li{
          @include flex;
          @include flex-x-center;
          @include flex-y-center;
        width: 100%;
        height: 4rem /* 64/16 */;
        &:hover{
          background: rgba(0,0,0,0.06);
        }
      }
    }
  }
}




//联系荣盛
.model{
  padding: 7.5rem /* 120/16 */ 9rem /* 144/16 */ 8.6875rem /* 139/16 */ 8.625rem /* 138/16 */;
  box-sizing: border-box;
}
.model_contact{
  display: flex;
  align-items:flex-end;
  justify-content: space-between;
  // flex-direction: column;
}
.model_info{
  .tab_bar_hover{
    // width: 14rem /* 224/16 */;
    height: 4.875rem /* 78/16 */;
    font-size: 3.5rem /* 56/16 */;
    font-weight: 600;
    text-align: left;
    line-height: 4rem /* 64/16 */;
    margin: 0 0 4.1875rem /* 67/16 */;
    white-space: nowrap;
  }
  ul{
    font-size: 1.25rem /* 20/16 */;
    li{
      line-height: 1.25rem /* 20/16 */;
      &:not(:last-child){
        padding-bottom: 2rem /* 32/16 */;
      }
    }
    .iconfont{
      font-size: 1.25rem /* 20/16 */;
      margin-right: 1.25rem /* 20/16 */;
    }
  }
}
.model_qc{
    margin-bottom: -1.25rem /* 20/16 */;
  img{
    width: 7.5rem /* 120/16 */;
    height: 7.5rem /* 120/16 */;
  }
  span{
    font-size: .875rem /* 14/16 */;
    text-align: center;
    color: #191e40;
    line-height: 2rem /* 32/16 */;
  }
}
.disp-block{display:none;}
.menu,.direction{
  @include none;
}
  /*屏幕小于750处理 BEGIN*/
  @media screen and (max-width: 46.875rem /* 750/16 */) {
    .direction{
      display: inline-block;
      margin-left: .5rem /* 8/16 */;
    }
    .header{
      height: 5rem /* 80/16 */;
      padding: 0 1rem /* 16/16 */;
      // position: relative;
      z-index: 11;
    }
    .header_nav_bar{
      &:not(.flex-x-y-vertical){
        @include none;
      }
      .nav_ul{
        position: static!important;
        left: 0!important;
        transform: none!important;
        background: none!important;
        box-shadow: none!important;
        height:auto!important;
        width: auto!important;
        li{
          margin-left: 0!important;
          a{color: #666a80!important;font-size: .875rem /* 14/16 */;}
          &:hover{
            background: none!important;
            .nav_ul{
              
            }
          }
        }
      }
    }
    .menu{
      @include flex;
      justify-content: flex-end;
      padding: 1rem /* 16/16 */;
      border: 1px solid #999;
      border-radius: 50%;
    }
    .header_top{
      width: 100%;
      align-items: center;
    }
    .header_bottom{
      width: 100%;
      @include position-center;
      top: 5rem;
      left: 0;
      transform: none;
    }
    .header_nav_bar{
      height: 100vh;
      background: white;
      align-items: flex-start!important;
      justify-content:unset!important;
      padding-top: 3.75rem /* 60/16 */;
        li{
          margin-left: 4rem /* 64/16 */!important;
          justify-content:flex-start!important;
          height: auto!important;
           a{
             font-size: 1rem /* 16/16 */;
           }
        }
    }
    .model{
      width:90%!important;
      height: auto!important;
      padding: 5.5rem /* 88/16 */ 1.9375rem /* 31/16 */;
      .icon-close{
       font-size: 1.5rem!important;
      }
      .tab_bar_hover{
        font-size: 1.75rem /* 28/16 */;
        margin: 0 0 2.0625rem /* 33/16 */ 0;
        width: auto;
      }
      .tab_bar_hover::after{
        display: -webkit-box;
        width: 6.0625rem;
        height: 0.8rem;
        margin: -1.45rem auto -10rem 0;
        content: '';
        background: rgba(116,217,11,0.5);
      }
      .text{
        font-size: 1rem /* 16/16 */;
      }
      .model_contact{
        flex-direction: column;
        align-items: center;
      }
      .model_info{
        ul{
          li{display: flex;}
          .iconfont{
            display:block;
            margin-right: .875rem /* 14/16 */;
          }
        }
        .tab_bar_hover{
          height: 3rem;
        }
      }
      .model_qc{
        margin-top: 2.25rem /* 36/16 */;
        img{
          margin-bottom: .5rem /* 8/16 */;
          font-size: .875rem /* 14/16 */;
        }
      }
    }
    
    .header .header_nav_bar>li{
      line-height: inherit!important;
      margin-bottom: 2rem /* 32/16 */;
    }
    .header_nav_bar .nav_ul li a{
        margin-top: 1.25rem /* 20/16 */;
    }
    .disp-block{display:block;}
  }
  .disp-none{display: none;}